<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>

<html>
    <head>
        <title>微商店后台管理</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="/onethink_1.0_140202/Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
        <link rel="stylesheet" type="text/css" href="/min.store/Public/Manage/css/layout_css.css" media="all">
        <script src="/min.store/Public/Manage/js/jQuery.min.js" ></script>
    </head>
    <body>
        <div id="header">
            <img src="/min.store/Public/Manage/images/logo.png" class="logo" />
            <ul class="nav">
                <?php if(is_array($menu["main"])): $i = 0; $__LIST__ = $menu["main"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li class="<?php echo ($item["class"]); ?>"><a href="<?php echo (U($item["url"])); ?>"><?php echo ($item["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                
            </ul>
        </div>
        
        <div id="middle">
            <div id="menu">
                
                <ul>
                    
                    <?php if(is_array($menu["child"])): $i = 0; $__LIST__ = $menu["child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li class="group">


                        <?php if(empty($item["child"])): ?><span><i class="icon"></i>&nbsp;<a href="<?php echo ($item["url"]); ?>"><?php echo ($item["title"]); ?></a></span>
                            
                            <?php else: ?>
                            
                            
                            <span><i class="icon icon_h"></i><a href="javaScript:;"><?php echo ($item["title"]); ?></a></span>
                            <ul>
                                <?php if(is_array($item["child"])): $i = 0; $__LIST__ = $item["child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($nav["url"]); ?>"><?php echo ($nav["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul><?php endif; ?>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    
                    
                </ul>
                
                
            </div>
            <div id="min-content">
                
            </div>
        </div>
        
        <script>
            $(function(){
                
                $("#middle").height($(document).height()-50);
                $("#min-content").height($(document).height()-50);
                $(window).resize(function(){
                    $("#middle").height($(document).height()-50);
                });
                
                $("#menu dt").click(function(){
                    
                })
                
                $(".group span").click(function(){
                    $(this).parent().find("ul").slideToggle();
                });
                
            })
        </script>
        
    </body>
</html>